// 全部接口返回数据ts类型
export interface ResponseData<T> {
  code: number
  data: T
  message: string
  ok: boolean
}

// 分页数据ts类型
export interface PagesData<T> {
  records: Array<T>
  total: number
  size: number
  current: number
  searchCount: boolean
  pages: number
}

// 数据操作枚举
export enum OPERATION_TYPE {
  ADD = 'ADD',
  UPDATE = 'UPDATE',
  DELETE = 'DELETE',
}
